import { DIRECTION_ORDER_ENUM, PARAMS_NAME_ENUM } from "../Enum";
import { SubStateMechine } from "./SubStateMechine";


const BASE_URL = 'texture/player/turnleft/';

export default class DiectionSubStateMechine extends SubStateMechine{


  run() {
    const value = this.fsm.getParams(PARAMS_NAME_ENUM.DIRECTION)
    this.currenState = this.stateMachines.get(DIRECTION_ORDER_ENUM[value as number])
  }

}
